home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
5_2.lha
/
5_2
/
5_2a1.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
321b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ constructor for a tnode
include <tnode.h>
include <string.h>
node:: tnode(char *s)
count = 1;
tword = new char[strlen(s)+1];
strcpy(tword, s);
left = right = 0;